﻿namespace Arms.Framework.Adapters
{
    using AutoMapper;
    using System;
    using System.Linq;

    /// <summary>
    /// AutoMapper adapter
    /// </summary>
    public class AutoMapperTypeAdapterFactory : ITypeAdapterFactory
    {
        /// <summary>
        /// Create a new Automapper type adapter factory.
        /// </summary>
        public AutoMapperTypeAdapterFactory() { }

        public ITypeAdapter Create()
        {
            return new AutoMapperTypeAdapter();
        }
    }
}
